package com.Abstract;

/**
 * @Author 小闽
 * @Date 2024/9/12 10:41
 * @PackageName: com.Abstract
 * @ClassName: BB
 * @Description: 抽象类模板设计模式
 * @Version 1.0
 */
public class BB extends Template{
    public void job(){
        long start = System.currentTimeMillis();
        for (int i = 0; i < 800000; i++) {
            long sum = 0;
            sum += i;
        }
        long end = System.currentTimeMillis();
        System.out.println("执行时间为：" + (end-start));
    }
}
